<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>查询个人信息</title>
	<script src=" Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
	<script src=" Scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
	<style type="text/css">
	<!--
	body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
	}
	.STYLE19 {
		color: #344b50;
		font-size: 12px;
	}
	-->
	</style>
	<script type="text/javascript">
	$(function () {
	    switcher();
	});
	
	function switcher() {
	    $("#sectionSelector").change(function () {
	        var sectionId = $(this).val();
	        $.post("queryPostBySectionInUserAction.action", { "sectionId": sectionId }, function (data) {
	            if (data != '')
	            //对应的物资信息添加到select中
	                $("#postSelector").html("").append(data);
	            else
	                $("#postSelector").html("").append("<option value=\"-1\">-请先选择部门-</option>");
	        }, "html");
	    });
	}
    </script>
</head>
<body>
	
		<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
			
			<tr><td colspan="4" height="31" colspan="2" align="center" bgcolor="#FFFFFF" class="STYLE19"><strong>查询个人信息</strong></td></tr>
			
			<tr><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">员工姓名：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userName}</td>
			<td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">员工性别：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.gender}</td></tr>
			<tr><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">年龄：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.age}</td>
			<td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">联系电话：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.phone}</td></tr>
			<tr><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">家庭住址：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.address}</td>
			<td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">电子邮箱：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.mailInfo.mailBox}</td></tr>
			<tr><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">所属部门：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.postInfo.sectionInfo.sectionName}</td>
			<td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">所属职位：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">${usersInfo.userInfo.postInfo.postName}</td></tr>

		
			
		</table>
</body>
</html>